import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.less']
})
export class AppComponent {
  title = 'angular';
  flag = true;
  changeTitle():void{
    this.title="new Angular";
  }
  changeFlag():void{
    this.flag=!this.flag;
  }
}
